import { Component } from "react";
import MyHeader from "./component/MyHeader/MyHeader";

export default class My extends Component{
    state={}
    render(){
        return(
            <>
            <MyHeader title="我的" onBack={this.onBackHome} />
              my
            </>
        )
    }
    onBackHome = () => {
        window.location.href = '/'
    }
}